<%@ include file="/common/taglibs.jsp"%>
<title><fmt:message key="orderPickPrintList.heading" /></title>
<META name="decorator" content="printable"/>
<%
	java.util.Date now = new java.util.Date();
	request.setAttribute("now", now);
%>
<c:forEach var="orderPick" items="${orderPickList}" varStatus="listStatus">
	<div class="bill_list clearfix">
		<div class="top_head clearfix">
			<div class="logo_r">
				&nbsp;
			</div>
			<div class="txt">
				<fmt:message key="orderPick.name" />
			</div>
		</div>
		<div class="content_bill clearfix">
			<div class="title clearfix">
				<h2>
					<fmt:message key="orderPick.documentNo" />
					：${orderPick.documentNo}
				</h2>
				<span> <fmt:message key="orderPickPrintList.print.date" /> ：
					<common:datetimeFormat date="${now}" /> </span>
			</div>
			<%---------------------------------购买的商品 -------------------------%>
			<%@include file="include/orderPickPrintList4Product.jspf" %>
			<br/>
			<%---------------------------------兑换的礼品 -------------------------%>
			<%@include file="include/orderPickPrintList4Gift.jspf" %>
			<div class="total_money clearfix">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td style="vertical-align: top; width: 100%">
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<th width="130px;">
										<fmt:message key="orderPick.createTime" />
										:
									</th>
									<td>
										<common:datetimeFormat date="${orderPick.createTime}" /> 
									</td>
								</tr>
							</table>
						</td>
					</tr>	
				</table>
			</div>
			<div class="total_money clearfix">
		        <table width="100%" cellspacing="0" cellpadding="0" border="0">
					<tr>
						<th width="700px;" align="right">
							<fmt:message key="orderPrint.sign" />
							:
						</th>
						<td>
							______________________
						</td>
					</tr>	
				</table>
	        </div>
		</div>
	</div>
	<c:if test="${ fn:length(orderPickList) !=  (listStatus.index+1) }" >
		<div class="pageBreak"></div>
		<hr/>
	</c:if>
</c:forEach>
